package com.chare;

import org.springframework.amqp.core.Queue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
public class Unnamed {
    public static void main(String[] args) {
        SpringApplication.run(Unnamed.class, args);

    }

    @Bean
    public Queue queue()
    {
        return new Queue("mailwoke");
    }
}
